package com.pointstar.dp.modules.project.service;

import java.util.Map;

import com.pointstar.dp.common.entity.Page;
import com.pointstar.dp.common.entity.R;
import com.pointstar.dp.modules.project.entity.ProjectRecordEntity;

/**
 * 项目记录表
 * @author pointstar<admin@pointstar.com>
 */
public interface ProjectRecordService {

    /**
     * 分页查询
     * @param params
     * @return
     */
	Page<ProjectRecordEntity> listProjectRecord(Map<String, Object> params);

    /**
     * 新增
     * @param projectRecord
     * @return
     */
	R saveProjectRecord(ProjectRecordEntity projectRecord);

    /**
     * 根据id查询
     * @param id
     * @return
     */
	R getProjectRecordById(Long id);

    /**
     * 修改
     * @param projectRecord
     * @return
     */
	R updateProjectRecord(ProjectRecordEntity projectRecord);

    /**
     * 删除
     * @param id
     * @return
     */
	R batchRemove(Long[] id);
	
}
